package com.css.fxfzxczh.modules.fastDisasterAnalysis.casualties.entity.jcsj;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ExcelTarget("JcIntensity")
public class JcIntensity {
    /**
     * id
     */
    private String id;

    /**
     * 抗震设防烈度 6度、7度、8度、9度、未设防
     */
    @Excel(name = "抗震设防烈度", width = 20, orderNum = "1")
    private String intensity;

    /**
     * 省
     */
    @Excel(name = "省", width = 20, orderNum = "2")
    private String province;

    /**
     * 市
     */
    @Excel(name = "市", width = 20, orderNum = "3")
    private String city;

    /**
     * 县
     */
    @Excel(name = "区/县", width = 20, orderNum = "4")
    private String county;

    /**
     * 乡
     */
    private String town;

    /**
     * 1(省级)，2(国家级)
     */
    private String sourceFlag;

    /**
     * 0正常1删除
     */
    private String delFlag;

    /**
     * 数据版本
     */
    private String dataVersion;

    /**
     * 创建用户
     */
    private String createUser;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新用户
     */
    private String updateUser;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 扩展字段1
     */
    private String extends1;

    /**
     * 扩展字段2
     */
    private String extends2;

    /**
     * 扩展字段3
     */
    private String extends3;

    /**
     * 扩展字段4
     */
    private String extends4;

    /**
     * 扩展字段5
     */
    private String extends5;

    /**
     * 扩展字段6
     */
    private String extends6;

    /**
     * 扩展字段7
     */
    private String extends7;

    /**
     * 扩展字段8
     */
    private String extends8;

    /**
     * 扩展字段9
     */
    private String extends9;

    /**
     * 扩展字段10
     */
    private String extends10;

}